package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 建房审批
 * </p>
 *
 * @author ${author}
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HouseApproval对象", description="建房审批")
public class HouseApproval implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别（1.男 0.女）")
    private String sex;

    @ApiModelProperty(value = "电话")
    private String tel;

    @ApiModelProperty(value = "身份证号")
    private String cardId;

    @ApiModelProperty(value = "家庭住址")
    private String address;

    @ApiModelProperty(value = "申请理由")
    private String reason;

    @ApiModelProperty(value = "宅基地基面积")
    private String areaing;

    @ApiModelProperty(value = "地址")
    private String dizhi;

    @ApiModelProperty(value = "东至")
    private String east;

    @ApiModelProperty(value = "西至")
    private String west;

    @ApiModelProperty(value = "南至")
    private String south;

    @ApiModelProperty(value = "北至")
    private String north;

    @ApiModelProperty(value = "现状")
    private String existing;

    @ApiModelProperty(value = "性质")
    private String nature;

    @ApiModelProperty(value = "建筑面积")
    private String floorage;

    @ApiModelProperty(value = "层数")
    private String layerNumber;

    @ApiModelProperty(value = "邻居意见")
    private String neighborView;

    @ApiModelProperty(value = "申请日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private String applyTime;

    @ApiModelProperty(value = "建筑高度")
    private String buildHeight;

    @ApiModelProperty(value = "资格办理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date seniorityReview;

    @ApiModelProperty(value = "资格经办人")
    private String seniorityUser;

    @ApiModelProperty(value = "资格审批意见")
    private String seniorityOpinion;

    @ApiModelProperty(value = "资格负责人")
    private String seniorityDutyUser;

    @ApiModelProperty(value = "资格审核时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date seniorityTime;

    @ApiModelProperty(value = "经办办理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date planReview;

    @ApiModelProperty(value = "规划经办人")
    private String planUser;

    @ApiModelProperty(value = "规划审批意见")
    private String planOpinion;

    @ApiModelProperty(value = "审核负责人")
    private String planDutyUser;

    @ApiModelProperty(value = "审核时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date planTime;

    @ApiModelProperty(value = "办理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date houseReview;

    @ApiModelProperty(value = "农房经办人")
    private String houseUser;

    @ApiModelProperty(value = "农房审批意见")
    private String houseOpinion;

    @ApiModelProperty(value = "农房负责人")
    private String houseDutyUser;

    @ApiModelProperty(value = "农房审批时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date houseTime;

    @ApiModelProperty(value = "乡镇街办理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date townReview;

    @ApiModelProperty(value = "乡镇经办人")
    private String townUser;

    @ApiModelProperty(value = "乡镇负责人")
    private String townDutyUser;

    @ApiModelProperty(value = "乡镇审批意见")
    private String townOpinion;

    @ApiModelProperty(value = "乡镇审批时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date townTime;

    @ApiModelProperty(value = "状态！ 0 待审批  1 已审批")
    private String state;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
